Bayesian analyses made easy: GLMMs in R package brms {https://t.co/POSpLZRPa1} #rstats #DataScience
— R-bloggers (@Rbloggers) April 18, 2022
How to create your own functions in R {https://t.co/2AEuycBrGe} #rstats #DataScience
— R-bloggers (@Rbloggers) April 21, 2022
Text Analysis of Job Descriptions for Data Scientists, Data Engineers, Machine Learning {https://t.co/luWLNT9vV8} #rstats #DataScience
— R-bloggers (@Rbloggers) April 18, 2022
WTF is Kubernetes and Should I Care as R User? {https://t.co/Yt6tT5g15M} #rstats #DataScience
— R-bloggers (@Rbloggers) April 17, 2022
Getting started with Python using R and reticulate {https://t.co/fQipgV3dVk} #rstats #DataScience
— R-bloggers (@Rbloggers) April 19, 2022
Linking R and Python to retrieve financial data and plot a candlestick {https://t.co/52cScE2TqA} #rstats #DataScience
— R-bloggers (@Rbloggers) April 18, 2022
Shiny Workshops and Tutorials – Appsilon Shiny Conference {https://t.co/NlSTyDp3Ev} #rstats #DataScience
— R-bloggers (@Rbloggers) April 21, 2022
MLDataR – Real-world Datasets for Machine Learning Applications {https://t.co/yX30YEfnw7} #rstats #DataScience
— R-bloggers (@Rbloggers) April 19, 2022
Simple R merge method and how to compare it with T-SQL {https://t.co/QOfYVfsjV3} #rstats #DataScience
— R-bloggers (@Rbloggers) April 16, 2022
6 Lessons that I learned from teaching R to non-programmers {https://t.co/cqmmca2hfE} #rstats #DataScience
— R-bloggers (@Rbloggers) April 22, 2022
Loading a large, messy csv using data.table fread with cli tools {https://t.co/aSfSZ26QJT} #rstats #DataScience
— R-bloggers (@Rbloggers) April 22, 2022
Successfully Putting Shiny in Production {https://t.co/YV6muRV4UE} #rstats #DataScience
— R-bloggers (@Rbloggers) April 21, 2022
Bayesian analyses made easy: GLMMs in R package brms {https://t.co/POSpLZRPa1} #rstats #DataScience
— R-bloggers (@Rbloggers) April 18, 2022
Sentiment Analysis of Tweets {https://t.co/oUo7oEPJOc} #rstats #DataScience
— R-bloggers (@Rbloggers) April 4, 2022
How to create your own functions in R {https://t.co/2AEuycBrGe} #rstats #DataScience
— R-bloggers (@Rbloggers) April 21, 2022
Classification: Logistic Regression and Random Forest {https://t.co/i18v8RedYE} #rstats #DataScience
— R-bloggers (@Rbloggers) March 31, 2022
Text Analysis of Job Descriptions for Data Scientists, Data Engineers, Machine Learning {https://t.co/luWLNT9vV8} #rstats #DataScience
— R-bloggers (@Rbloggers) April 18, 2022
R Shiny in Life Sciences – Top 7 Dashboard Examples {https://t.co/iNZgHjyP7K} #rstats #DataScience
— R-bloggers (@Rbloggers) March 29, 2022
WTF is Kubernetes and Should I Care as R User? {https://t.co/Yt6tT5g15M} #rstats #DataScience
— R-bloggers (@Rbloggers) April 17, 2022
Basics of Text Mining in R {https://t.co/14MYZXbGiB} #rstats #DataScience
— R-bloggers (@Rbloggers) April 1, 2022
Propensity Score Matching {https://t.co/j62sAAqC5M} #rstats #DataScience
— R-bloggers (@Rbloggers) April 12, 2022
Enjoying the process of making tables in R using {reactable} and {reactablefmtr} {https://t.co/Ds2wKP1BqZ} #rstats #DataScience
— R-bloggers (@Rbloggers) April 7, 2022
Getting started with Python using R and reticulate {https://t.co/fQipgV3dVk} #rstats #DataScience
— R-bloggers (@Rbloggers) April 19, 2022
R Shiny in Government – Top 7 Dashboards You Should See {https://t.co/K9B5t5rUyM} #rstats #DataScience
— R-bloggers (@Rbloggers) April 5, 2022
---
title: "RBloggers Top Tweets"
output:
flexdashboard::flex_dashboard:
vertical_layout: scroll
source_code: embed
theme:
version: 4
bootswatch: yeti
css: styles/main.css
---
```{r setup, include=FALSE}
library(flexdashboard)
library(dplyr)
library(httr)
library(lubridate)
library(jsonlite)
library(purrr)
rbloggers <- fromJSON("data/rbloggers.json")
get_tweet_embed <- function(user, status_id) {
url <-
stringr::str_glue(
"https://publish.twitter.com/oembed?url=https://twitter.com/{user}/status/{status_id}&partner=&hide_thread=false"
)
response <- GET(url) %>%
content()
return(shiny::HTML(response$html))
}
```
Column {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Top Tweets - 7 days {.tweet-wall}
```{r}
rblog_7 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 7, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_7_html <-
map2_chr(rblog_7$screen_name, rblog_7$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_7_html}"))
```
### Top Tweets - 30 days {.tweet-wall}
```{r}
rblog_30 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 30, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_30_html <-
map2_chr(rblog_30$screen_name, rblog_30$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_30_html}"))
```